package com.jt.www.util;

import org.dom4j.Element;

/**
 * xml
 * Created by shaoyn on 2020/09/08.
 */
public class XmlUtils {

    public static String getStringValue(Element rootElement, String elementName) {
        Element element = rootElement.element(elementName);
        if (null == element) {
            return "";
        } else {
            return element.getStringValue();
        }
    }
}
